﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using TTGameEngine;
using UnityEngine.UI;

public class UITipsMsgData : UIDataBase {
    public string msg;

    public UITipsMsgData(string msg) {
        this.msg = msg;
    }
}

public class UITipsMsg : UIBase {
    public Text m_text;
    [SerializeField]
    Vector3 startPos;
    Vector3 endPos;
    UITipsMsgData m_uidata;

    public override void init() {
        m_uidata = (UITipsMsgData)m_uidatabase;
        m_text.text = m_uidata.msg;
    }

}
